package com.example.mytestapplication.bean;

import java.util.List;
import java.util.Map;

/**
 * 自动生成rest api vo
 *
 * @author dick
 * @date 2016-5-24
 */
public class DeviceVo extends BaseValue {

    /**
     *
     */
    private static final long serialVersionUID = -1L;

    /**
     * 外部设备ID
     */
    protected String exoticDeviceId;
    /**
     * 备注
     */
    protected String remark;
    /**
     * 注册该设备的用户全局ID。系统注册则为0
     */
    protected String regUser;
    /**
     * 设备类型
     */
    protected String type;
    /**
     * 父设备全局ID。如果本身为父设备，则该字段为空
     */
    protected String parentGlobalId;
    /**
     * 制造商
     */
    protected String manufacturer;
    /**
     * 生产日期
     */
    protected String produceDate;
    /**
     * 子设备数量。-1：可添加任意数量子设备，0：不含子设备，具体数值：含具体数值子设备
     */
    protected Integer subDeviceNum;
    /**
     * 房间标签
     */
    protected String roomLabel;
    /**
     * 设备动作命令集
     */
    protected List<CmdSetVo> actionCmds;
    /**
     * 是否外来设备。0：否；1：是
     */
    protected String exotic;
    /**
     * 主键
     */
    protected String id;
    /**
     * 设备序列号
     */
    protected String sn;
    /**
     * 激活状态。0：未激活；1：已激活。
     */
    protected String activateStatus;
    /**
     * 运行状态。0：正常；1：异常
     */
    protected String runStatus;
    /**
     * 子设备列表
     */
    protected List<DeviceVo> childDevices;
    /**
     * 设备全局ID
     */
    protected String globalId;
    /**
     * 激活时间
     */
    protected String activateTime;
    /**
     * 购买时间
     */
    protected String buyTime;
    /**
     * OEM编码
     */
    protected String oemCode;
    /**
     * 
     */
    protected Map<String,String> attrMap;
    /**
     * 家庭ID
     */
    protected String familyId;
    /**
     * 设备回路值（子设备才有）
     */
    protected String loopValue;
    /**
     * 安装位置
     */
    protected String installPosition;
    /**
     * 父设备名称。如果本身为父设备，则该字段为空
     */
    protected String parentName;
    /**
     * 创建时间
     */
    protected String createTime;
    /**
     * 品牌ID
     */
    protected String brandId;
    /**
     * 设备名称
     */
    protected String name;
    /**
     * 注册表状态 1：已注册  2：未注册；
     */
    protected String registerStatus;
    /**
     * 设备子类型
     */
    protected String subType;
    /**
     * 设备控制指令
     */
    protected String cmd;
    /**
     * 设备大类。H：家居控制类；HEALTH：健康设备类
     */
    protected String category;
    /**
     * 状态。0：正常；1：已删除；
     */
    protected String status;


    public String getExoticDeviceId() {
        return exoticDeviceId;
    }

    public void setExoticDeviceId(String exoticDeviceId) {
        this.exoticDeviceId = exoticDeviceId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRegUser() {
        return regUser;
    }

    public void setRegUser(String regUser) {
        this.regUser = regUser;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getParentGlobalId() {
        return parentGlobalId;
    }

    public void setParentGlobalId(String parentGlobalId) {
        this.parentGlobalId = parentGlobalId;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getProduceDate() {
        return produceDate;
    }

    public void setProduceDate(String produceDate) {
        this.produceDate = produceDate;
    }

    public Integer getSubDeviceNum() {
        return subDeviceNum;
    }

    public void setSubDeviceNum(Integer subDeviceNum) {
        this.subDeviceNum = subDeviceNum;
    }

    public String getRoomLabel() {
        return roomLabel;
    }

    public void setRoomLabel(String roomLabel) {
        this.roomLabel = roomLabel;
    }

    public List<CmdSetVo> getActionCmds() {
        return actionCmds;
    }

    public void setActionCmds(List<CmdSetVo> actionCmds) {
        this.actionCmds = actionCmds;
    }

    public String getExotic() {
        return exotic;
    }

    public void setExotic(String exotic) {
        this.exotic = exotic;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getActivateStatus() {
        return activateStatus;
    }

    public void setActivateStatus(String activateStatus) {
        this.activateStatus = activateStatus;
    }

    public String getRunStatus() {
        return runStatus;
    }

    public void setRunStatus(String runStatus) {
        this.runStatus = runStatus;
    }

    public List<DeviceVo> getChildDevices() {
        return childDevices;
    }

    public void setChildDevices(List<DeviceVo> childDevices) {
        this.childDevices = childDevices;
    }

    public String getGlobalId() {
        return globalId;
    }

    public void setGlobalId(String globalId) {
        this.globalId = globalId;
    }

    public String getActivateTime() {
        return activateTime;
    }

    public void setActivateTime(String activateTime) {
        this.activateTime = activateTime;
    }

    public String getBuyTime() {
        return buyTime;
    }

    public void setBuyTime(String buyTime) {
        this.buyTime = buyTime;
    }

    public String getOemCode() {
        return oemCode;
    }

    public void setOemCode(String oemCode) {
        this.oemCode = oemCode;
    }

    public Map<String,String> getAttrMap() {
        return attrMap;
    }

    public void setAttrMap(Map<String,String> attrMap) {
        this.attrMap = attrMap;
    }

    public String getFamilyId() {
        return familyId;
    }

    public void setFamilyId(String familyId) {
        this.familyId = familyId;
    }

    public String getLoopValue() {
        return loopValue;
    }

    public void setLoopValue(String loopValue) {
        this.loopValue = loopValue;
    }

    public String getInstallPosition() {
        return installPosition;
    }

    public void setInstallPosition(String installPosition) {
        this.installPosition = installPosition;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getBrandId() {
        return brandId;
    }

    public void setBrandId(String brandId) {
        this.brandId = brandId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRegisterStatus() {
        return registerStatus;
    }

    public void setRegisterStatus(String registerStatus) {
        this.registerStatus = registerStatus;
    }

    public String getSubType() {
        return subType;
    }

    public void setSubType(String subType) {
        this.subType = subType;
    }

    public String getCmd() {
        return cmd;
    }

    public void setCmd(String cmd) {
        this.cmd = cmd;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

}
